{% extends "base.html"%}
{% block title %}
	登录
{% endblock %}
{% block container %}
	<div id='banner'>
	
	</div>
	<form method='post' action='/blog/login/'>
		<div id='login-form'>
			<div id='login-title'><h2>登录</h2></div>
			<hr style='color:red;margin:0px;width:90%;margin-left:auto;margin-right:auto;'>
			<div id='login-body'>
				<input type='text' id='username' name='username' placeholder="用户名" >
				<input type='password' id='password' name='password' placeholder="密码">
				<div class='error-msg'>
					<p>{{ error }}</p>
				</div>
			</div>
			<hr style='color:red;margin-top:5px;margin-bottom:5px;width:90%;margin-left:auto;margin-right:auto;'>
			
			<div id='login-footer'>
				<button id="login-btn" type="submit" >登录</button> 
			</div>
		</div>
	</form>
{% endblock %}